package com.archetypus.projectschedule.common;

import java.io.Serializable;

public class Resource implements Serializable {

	private static final long serialVersionUID = -6057152367154864269L;

	private String key;

	private boolean command;

	private String path;

	private long order;

	public Resource() {
	}

	public Resource(String key, String path, boolean command, long order) {
		this.key = key;
		this.command = command;
		this.path = path;
		this.order = order;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public boolean isCommand() {
		return command;
	}

	public void setCommand(boolean command) {
		this.command = command;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public long getOrder() {
		return order;
	}

	public void setOrder(long order) {
		this.order = order;
	}

	public String toString() {
		return key + "-" + command + "-" + order + "-" + path;
	}
}
